﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:my="http://schemas.microsoft.com/surface/2008"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Class="WpfMultitouchImageSearch.MainWindow"
    Title="Windows Search mit Multitouch UI"
    Height="615"
    Width="993">
    <Grid>
        <Grid.Background>
            <LinearGradientBrush
                EndPoint="0.5,1"
                StartPoint="0.5,0">
                <GradientStop
                    Color="Black"
                    Offset="0" />
                <GradientStop
                    Color="White"
                    Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition />
        </Grid.RowDefinitions>
    	<my:ScatterView IsManipulationEnabled="True">
    		<my:ScatterViewItem Height="100" Width="100">
    			<Image Margin="0" Source="Assets/0.JPG" Stretch="Fill" Width="320" Height="240" d:LayoutOverrides="Width, Height, Margin"/>
    		</my:ScatterViewItem>
    		<my:ScatterViewItem Height="100" Width="100">
    			<Image Margin="0" Source="Assets/1.JPG" Stretch="Fill" Width="320" Height="240" d:LayoutOverrides="Width, Height, Margin"/>
    		</my:ScatterViewItem>
    	</my:ScatterView>
    	<Image Margin="0" Source="Assets/0.JPG" Stretch="Fill" Width="320" Height="240"/>
    	<Image Margin="0" Source="Assets/1.JPG" Stretch="Fill" Width="320" Height="240"/>
    </Grid>
</Window>
